﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Pedlar:NPC
    {
        public Pedlar(string name,int health,string region):base(name,health,region)
        { 
            
        }
        public override void speak()
        {
            Console.WriteLine("所处地:{0}\n名字为:{1}\n生命值为:{2}\n", this.Region, base.Name, this.Health);
        }
    }
}
